package inherit;

public class Son extends Parent {

    public Son(String name, int age, String gender) {
        // 继承来的父类的 name、age、gender
        super(name, age, gender);
    }

    public void sing() {
        System.out.println("只因你太美");
    }

}
